package com.zr.sparesubclass.mapper;

import com.zr.sparesubclass.model.SubClass;
import com.zr.sparesubclass.model.UpdateStatusVo;
import com.zr.sparesubclass.model.UpdateSubClassVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 86151 on 2018/12/29.
 */
@Mapper
public interface SubClassMapper {
    int queryCount(SubClass subClass);
    List<SubClass> queryPage(SubClass subClasss);

    void updatestatus(UpdateStatusVo updateStatusVo);

    int queryVersion(int id);

    Integer queryName(String name);

    void updateSubClass(UpdateSubClassVo updateSubClassVo);
}
